import styled from 'styled-components'
import img from '@img/all.png'
import btnBgNormal from '@img/btn-bg-normal.png'
import avatar_32x32 from '@/assets/avatar/avatar_32x32.png'

export const StyledWrap = styled.div`
	position: relative;
	top: -23px;
	background: #fff;
	.top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 30px;
	}
	.tab {
		padding-top: 18px;
		padding-bottom: 30px;
	}
	.btn {
		margin-right: 5px;
	}
`

export const ExclusiveOrVisibleWrap = styled.div`
	font-size: 12px;
	.meeting-visibility {
		display: flex;
		align-items: center;
		height: 30px;
		width: 100%;
	}

	.label {
		display: inline-block;
		height: 30px;
		width: 105px;
		text-align: left;
		line-height: 30px;
	}

	.zoomListBox {
		width: 100%;
		margin-top: 20px;
	}

	.zoomBox-label {
		width: 50%;
		display: flex;
		justify-content: space-between;
	}

	.buttonBox {
		width: 58px;
		display: flex;
		justify-content: space-between;
	}

	.buttonBox div {
		width: 24px;
		text-decoration: underline;
		color: #2874bb;
		cursor: pointer;
	}

	.addZoomBox {
		width: 50%;
		height: 300px;
		border-top: 1px solid #949799;
		border-bottom: 1px solid #949799;
		margin-top: 10px;
	}

	.addZoom {
		padding-top: 20px;
	}

	.addButton {
		width: 30px;
		height: 30px;
		display: inline-block;
		vertical-align: top;
		cursor: pointer;
		background: transparent url(${img}) no-repeat scroll 0 -1569px;
	}

	.addButtonText {
		display: inline-block;
		line-height: 30px;
		margin-left: 10px;
		font-weight: bold;
	}

	.footer {
		color: #cccccc;
	}

	.mo-dialog-content .w-help {
		position: absolute;
		top: 9px;
		right: 18px;
		width: 23px;
		height: 23px;
		background: url()
			no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	}

	.chooseZoomList {
		height: 240px;
		margin-top: 10px;
		overflow: auto;
	}

	.list-item.checked {
		background: url(${btnBgNormal}) no-repeat 0 0 #69bef0 !important;
		background-size: 100% !important;
		border-color: transparent;
		color: #ffffff;
	}

	.list-item {
		height: 40px;
		margin-top: 5px;
		line-height: 40px;
		display: flex;
		align-items: center;
		padding-left: 5px;
	}
	.list-item .infoBox {
		flex: 1;
		line-height: 40px;
		user-select: none;
	}
	.list-item:hover {
		background: url(${btnBgNormal}) no-repeat 0 0 #69bef0 !important;
		background-size: 100% !important;
		border-color: transparent;
		color: #ffffff;
	}

	.list-item .checkbox-icon {
		display: inline-block;
		width: 14px;
		height: 14px;
		cursor: pointer;
		background: url(/src/assets/images/all.png) no-repeat 0 -192px transparent;
	}
	.list-item:hover .checkbox-icon {
		background: url(/src/assets/images/all.png) no-repeat -55px -192px transparent;
	}
	.list-item.checked .checkbox-icon {
		background: url(/src/assets/images/all.png) no-repeat -69px -192px transparent;
	}

	.list-item .infoBox .icon,
	.list-item .infoBox .name,
	.list-item .del {
		display: inline-block;
	}
	.list-item .infoBox .icon {
		background: url(${avatar_32x32}) no-repeat transparent;
		width: 32px;
		height: 32px;
		vertical-align: middle;
		margin: 0 10px;
		margin-top: -4px;
	}

	.list-item .del {
		background: url(${img}) no-repeat scroll -65px -250px transparent;
		width: 13px;
		height: 13px;
		display: none;
		vertical-align: middle;
		margin-right: 5px;
		cursor: pointer;
	}

	.list-item:hover .del {
		display: inline-block;
	}

	.checked.del {
		display: inline-block;
		background: url(${img}) no-repeat scroll -65px -250px transparent;
	}
`
